home *** CD-ROM | disk | FTP | other *** search
- #ifndef __SAMPLEDEFS__
- #define __SAMPLEDEFS__
-
- #ifndef __EVENTS__
- #include <Events.h>
- #endif
-
- typedef struct {
- OSErr err;
- EventRecord *event;
- char *message;
- } ErrorRec, *ErrorRecPtr;
-
- typedef struct {
- short txFont;
- Style txFace; /*txFace is unpacked byte but push as short*/
- char filler;
- short txSize;
- } PortFontInfo;
-
-
- typedef unsigned long uint32;
- typedef unsigned short uint16;
- typedef long int32;
- typedef short int16;
-
- struct WindowData{
- Boolean stopped;
- };
-
- typedef struct WindowData WindowData, *WindoDataPtr, **WindowDataHandle;
-
-
- #endif __SAMPLEDEFS__